Amitakhya Phukan [Wed, 16 Sep 2009 06:05:12 +0000 (11:35 +0530)]
Updating Assamese translations
Sweta Kothari [Wed, 16 Sep 2009 05:20:22 +0000 (10:50 +0530)]
Updated Gujarati Translations
Sandeep Shedmake [Wed, 16 Sep 2009 05:05:02 +0000 (10:35 +0530)]
Updated Marathi Translations
Sandeep Shedmake [Wed, 16 Sep 2009 05:04:56 +0000 (10:34 +0530)]
Updated Marathi Translations
Manoj Kumar Giri [Tue, 15 Sep 2009 14:01:07 +0000 (19:31 +0530)]
Upadted Oriya Translation
Alexander Larsson [Tue, 15 Sep 2009 12:39:04 +0000 (14:39 +0200)]
Respect grab event mask for crossing events
In the case of a non-owner_events grab, use grab->event_mask rather
than the window even mask to decide whether to deliver the event
or not.
Runa Bhattacharjee [Tue, 15 Sep 2009 11:45:01 +0000 (17:15 +0530)]
Updated Bengali India Translations
Manoj Kumar Giri [Tue, 15 Sep 2009 09:20:19 +0000 (14:50 +0530)]
Upadted Oriya Translation
Manoj Kumar Giri [Tue, 15 Sep 2009 07:45:50 +0000 (13:15 +0530)]
Upadted Oriya Translation
Runa Bhattacharjee [Mon, 14 Sep 2009 17:56:44 +0000 (23:26 +0530)]
updated Bengali India translation
Michael Meeks [Mon, 14 Sep 2009 14:34:43 +0000 (15:34 +0100)]
fix whitespace error
Michael Meeks [Mon, 14 Sep 2009 13:27:42 +0000 (14:27 +0100)]
fix race between fetching owner of composit selection, and
registering as a listener for changes; bug#594913
Alexander Larsson [Mon, 14 Sep 2009 14:07:43 +0000 (16:07 +0200)]
Automatically flush window when doing non-double-buffered expose
Applications using non-double-buffered drawing using cairo (e.g. Abiword)
can draw directly to the window using cairo and thus manage to avoid
the automatic flushing of outstanding moves. This can cause redraw
inconsistencies like bug 593507.
We fix this by always flushing when exposing non-double-buffered widgets.
Alexander Larsson [Mon, 14 Sep 2009 14:07:25 +0000 (16:07 +0200)]
Make gdk_window_flush public
We need to call this from Gtk+, and its concievable that some other
app doing weird stuff could have a use for it.
Alexander Larsson [Mon, 14 Sep 2009 11:44:09 +0000 (13:44 +0200)]
Better handling of window hierarchy changes from inside expose handler
If we move, resize or otherwise change a window from inside a (double
buffered) expose handler we can run into issues with double buffered
paints that have already been ended but have not yet been commited
to the window from the implicit paint pixmap.
For instance, any copies of source regions due to a window scroll need
to take these into account, and any operation that causes some drawing at
a destination covered by the implicit paint region would be overdrawn
when the implicit paint is ended.
So, before we do any window-hierarchy changing operation while an implicit
paint is in effect we flush all moves and already commited paints.
Alexander Larsson [Mon, 14 Sep 2009 11:38:47 +0000 (13:38 +0200)]
Handle expose events moving or resizing windows
When a window is moved or resized from a double-buffered expose handler
we can't really just copy the window region around, as the window
will be overdrawn with the double buffered region when the expose returns.
Instead we remove all regions with outstanding implicit paints from the
region to be copied and just mark this area as invalid to be redrawn
later.
This fixes bug 594880.
Alexander Larsson [Mon, 14 Sep 2009 11:28:38 +0000 (13:28 +0200)]
Factor out impl_window_add_update_area() to a function
Alexander Larsson [Mon, 14 Sep 2009 11:24:55 +0000 (13:24 +0200)]
Don't reenter gdk_window_process_updates_internal
Its not correct for recurse gdk_window_process_updates_internal, as
the outer instance will overdraw the inner. So, protect against
gdk_window_process_updates() being called while in an expose
handler.
This shouldn't be a repaint problem, as eventually the idle handler
will cause the updates to be processed.
Alexander Larsson [Mon, 14 Sep 2009 11:09:07 +0000 (13:09 +0200)]
Bail out of window move/resize early if no change
This is not all that uncommon in size_allocate, so we want
to optimize this case.
Matthias Clasen [Mon, 14 Sep 2009 03:32:46 +0000 (23:32 -0400)]
Mention thread-safety issues
Matthias Clasen [Mon, 14 Sep 2009 03:16:44 +0000 (23:16 -0400)]
Fix gdk_display_beep
Since XBell() seems broken, just call XkbBell().
Kjartan Maraas [Sun, 13 Sep 2009 22:22:42 +0000 (00:22 +0200)]
Update Norwegian bokmål translation.
Kenneth Nielsen [Sun, 13 Sep 2009 00:51:18 +0000 (02:51 +0200)]
Updated Danish translation
Bruce Cowan [Sat, 12 Sep 2009 18:27:38 +0000 (19:27 +0100)]
Updated British English translations
Aron Xu [Sat, 12 Sep 2009 15:59:39 +0000 (23:59 +0800)]
Updated Simplified Chinese translation.
Aron Xu [Sat, 12 Sep 2009 15:43:04 +0000 (23:43 +0800)]
Updated Simplified translation.
Vincent Untz [Sat, 12 Sep 2009 11:23:09 +0000 (13:23 +0200)]
Fix warning about pointer/int confusion
https://bugzilla.gnome.org/show_bug.cgi?id=594679
Ask H. Larsen [Sat, 12 Sep 2009 01:20:20 +0000 (03:20 +0200)]
Updated Danish translation
Tor Lillqvist [Fri, 11 Sep 2009 22:23:01 +0000 (01:23 +0300)]
Parse libtoolize --version more carefully
Some recent versions of libtoolize output a version blurb like:
libtoolize (GNU libtool 1.3110 2009-07-01) 2.2.7a
Don't get confused by the numbers inside the parens.
Reinout van Schouwen [Fri, 11 Sep 2009 20:36:58 +0000 (22:36 +0200)]
Updated Dutch translation
Matthias Clasen [Fri, 11 Sep 2009 16:47:32 +0000 (12:47 -0400)]
Add a note about tooltip limitations
Apparently Windows only shows the first 64 characters of tooltips
on statusicons. Bug 594600.
Kostas Papadimas [Fri, 11 Sep 2009 16:27:03 +0000 (19:27 +0300)]
Updated Greek translation.
Alexander Larsson [Fri, 11 Sep 2009 13:21:43 +0000 (15:21 +0200)]
Don't support the old handling of zero height/width in gdk_window_clear_area
We used to handle zero height/width specially in the non-double buffered
case due to the weird behaviour of XClearArea in this case. However
this is undocumented, incompatible with what happens on double-buffered
drawing, and just not a good API. So, we drop this behaviour, having
fixed gtkclist.c which used this.
Alexander Larsson [Fri, 11 Sep 2009 13:08:14 +0000 (15:08 +0200)]
Don't use magic zero height/width argument to gdk_window_clear_area
This is an undocumented feature that we stopped supporting, and
anyway it likely only ever worked on X anyway.
Ani [Fri, 11 Sep 2009 06:38:06 +0000 (12:08 +0530)]
Updated Malayalam Translations
Ani [Fri, 11 Sep 2009 06:37:41 +0000 (12:07 +0530)]
Updated Malayalam Translations
Mario Blättermann [Thu, 10 Sep 2009 19:06:15 +0000 (21:06 +0200)]
Updated German translation
Matthias Clasen [Thu, 10 Sep 2009 17:52:29 +0000 (13:52 -0400)]
Mention gdk_window_restack
It is probably worth mentioning this function by name, since we've
added it explicitly to easy porting...
Matthias Clasen [Thu, 10 Sep 2009 17:51:02 +0000 (13:51 -0400)]
Add more hints
Mention problems related to cairo and clipping.
Matthias Clasen [Thu, 10 Sep 2009 02:40:44 +0000 (22:40 -0400)]
Cleanups
This commit removes dead code, mostly pointed out by clang.
Alexander Larsson [Thu, 10 Sep 2009 17:27:45 +0000 (19:27 +0200)]
Don't send grab broken for implicit grabs on button release
This is how it used to work, you only get grab broken if someone
else gets a grab, or if the grabbed window gets destroyed or unmapped.
Alexander Larsson [Thu, 10 Sep 2009 11:53:29 +0000 (13:53 +0200)]
Ensure recursing gdk_window_process_all_updates works
There are two issues here. First of all an ignored update didn't
use to unset update_idle which could cause all further idle repaints
to be ignored. (Bug #591583)
Secondly, if we ignore the process_all_updates we may end up not updating
the windows in update_windows unless something else triggers an update.
So, we handle this by checking for recursions and scheduling a new update
at the end of the outermost process_all_updates.
Gintautas Miliauskas [Thu, 10 Sep 2009 10:46:13 +0000 (13:46 +0300)]
Updated Lithuanian translation.
Bastien Nocera [Thu, 10 Sep 2009 09:18:29 +0000 (10:18 +0100)]
Keysyms docs update
Mention XK_ prefixes as well.
Bastien Nocera [Thu, 10 Sep 2009 09:15:10 +0000 (10:15 +0100)]
Avoid duplicate keysyms, ignore mispelled one
GDK_Select and GDK_Clear were duplicated, GDK_Calculater is
only useful for compulsive misspellers.
Sweta Kothari [Thu, 10 Sep 2009 08:50:08 +0000 (14:20 +0530)]
Updated Gujarati Translations
Sweta Kothari [Thu, 10 Sep 2009 07:27:02 +0000 (12:57 +0530)]
Updated Gujarati Translations
Kristian Rietveld [Wed, 9 Sep 2009 07:43:30 +0000 (09:43 +0200)]
Unbreak GtkComboBox::button-sensitivity
Fixed the button-sensivity patch done to GtkComboBox to account for
changes in appearance (changes to the appears-as-list style property).
Also, in list-mode, the event box that has been created below the cell
view also needs to have its sensitivity updated.
Bastien Nocera [Wed, 9 Sep 2009 17:01:43 +0000 (18:01 +0100)]
Bug 594668 - Add new Xorg keysyms
Add support for XF86keysym.h to gdkkeysyms-update.pl and
update the generated gdkkeysyms.h file for the latest sources.
Matthias Clasen [Wed, 9 Sep 2009 15:52:07 +0000 (11:52 -0400)]
Accept "true" as a true value in printer settings
Some of the settings come directly from cups config files, which
have no case sensitivity requirement, so we should not be more
picky. Bug 594652.
Matthias Clasen [Wed, 9 Sep 2009 13:00:15 +0000 (09:00 -0400)]
Deprecate gdk_event_get_graphics exposes
This function is only used in deprecated, broken widgets. Also,
fix up some of its implmentation that clang was complaining about.
Matthias Clasen [Wed, 9 Sep 2009 04:53:32 +0000 (00:53 -0400)]
Remove a dead assignment
Pointed out by clang.
Matthias Clasen [Wed, 9 Sep 2009 04:52:01 +0000 (00:52 -0400)]
Remove a dead assignment
Pointed out by clang.
Matthias Clasen [Wed, 9 Sep 2009 04:01:23 +0000 (00:01 -0400)]
Fix a typo
Matthias Clasen [Tue, 8 Sep 2009 23:39:52 +0000 (19:39 -0400)]
Make the custom paper size dialog not block the main dialog
This was causing problems in gedit, which uses window groups.
Bug 593678.
Kristian Rietveld [Tue, 8 Sep 2009 13:51:10 +0000 (15:51 +0200)]
Don't access the parent level, there might not be one
Use the index instead, that can be -1. A unit test has been added as
well.
Alexander Larsson [Tue, 8 Sep 2009 09:48:20 +0000 (11:48 +0200)]
Fix handling of window cursor wrt grabs
Even for grabs we need to recurse up to look for what cursor to use.
Paolo Borelli [Mon, 7 Sep 2009 09:16:33 +0000 (11:16 +0200)]
One more unit test
Paolo Borelli [Sun, 6 Sep 2009 14:09:17 +0000 (16:09 +0200)]
Simple expander unit test
Kristian Rietveld [Sun, 6 Sep 2009 18:23:05 +0000 (20:23 +0200)]
Avoid recursive calls to gtk_tree_view_top_row_to_dy()
Commit
3f306a40422e367ef03b9e6f6c80dec9fc932602 made it possible for
gtk_tree_view_top_row_to_dy() to be called recursively. (In a different
way than was already guarded for). This caused a single test case in
the scrolling test suite to fail. We now also guard for recursive calls at
the beginning of gtk_tree_view_top_row_to_dy().
Tomasz Dominikowski [Sun, 6 Sep 2009 12:29:50 +0000 (14:29 +0200)]
Updated Polish translation
Kristian Rietveld [Sun, 6 Sep 2009 11:35:37 +0000 (13:35 +0200)]
Bug 346800 - Rework sort/filter models to use indices to parents...
Rework the sort and filter models to store their reference to the parent
element as an array index instead of a pointer to an array element.
These pointers could become invalid with any array modification, whereas
indices do not.
Takayuki KUSANO [Sun, 6 Sep 2009 09:47:08 +0000 (18:47 +0900)]
Update Japanese translation
Matthias Clasen [Sun, 6 Sep 2009 06:42:39 +0000 (02:42 -0400)]
Correct the initial event mask of the root window
This fixes bug 588455 where the panel stopped responding to Alt-F2 when
setting a transparent background.
Kristian Rietveld [Sat, 5 Sep 2009 14:59:17 +0000 (16:59 +0200)]
Fix compiler warnings
Kristian Rietveld [Sat, 5 Sep 2009 14:58:12 +0000 (16:58 +0200)]
Fix memleak in filter model unit test
(There is one larger memleak left here, but this is a side effect of the
test case for bug 346800).
Kristian Rietveld [Sat, 5 Sep 2009 14:47:35 +0000 (16:47 +0200)]
List work left to do in the filter model unit test
Kristian Rietveld [Sat, 5 Sep 2009 14:41:09 +0000 (16:41 +0200)]
Emit row-has-child-toggled when a first node becomes visible in a level
If we have a level with zero visible nodes and the first node becomes
visible in that level, then parent has just become a "real" parent node.
In such a case we need to emit row-has-child-toggled. This only applies
to non-root levels that have a parent. This problem was also found when
writing the unit test, the respective cases in the unit test have been
corrected.
This fixes bugs:
Bug 372010 - Filtering not working properly
Bug 525965 - Filtered and sorted GtkTreeView is missing rows
Kristian Rietveld [Sat, 5 Sep 2009 14:12:48 +0000 (16:12 +0200)]
When the filter removes a node, it needs to remove its children too
In gtk_tree_model_filter_remove_node(), we check if the given elt has
children. If so, this level will be freed. This action is recursive.
Kristian Rietveld [Sat, 5 Sep 2009 13:57:25 +0000 (15:57 +0200)]
Have the unit test check if the filter model emits the right signals
Kristian Rietveld [Fri, 4 Sep 2009 07:28:21 +0000 (09:28 +0200)]
Properly handle cases where an ancestor node is invisible
Kristian Rietveld [Wed, 2 Sep 2009 10:47:53 +0000 (12:47 +0200)]
Extend filter model unit test with row-has-child-toggled testers
Kristian Rietveld [Wed, 2 Sep 2009 10:45:41 +0000 (12:45 +0200)]
Correct handling of row-has-child-toggled signal
When a filter function is used that determines the visibility property
of a node using whether or it it has children, the state of this node
very likely changes when the filter model receives a
row-has-child-toggled signal. Therefore, we need to handle state
changes in the row-has-child-toggled handler.
Kristian Rietveld [Tue, 1 Sep 2009 16:06:56 +0000 (18:06 +0200)]
Remove unused variable
Kristian Rietveld [Tue, 1 Sep 2009 16:05:46 +0000 (18:05 +0200)]
More virtual root unit tests
Kristian Rietveld [Tue, 1 Sep 2009 15:51:50 +0000 (17:51 +0200)]
Add a rather specially crafted test case
Kristian Rietveld [Tue, 1 Sep 2009 15:51:19 +0000 (17:51 +0200)]
Marking nodes invisible after pulling in the root level is wrong
Kristian Rietveld [Tue, 1 Sep 2009 15:49:02 +0000 (17:49 +0200)]
Do not emit has-child-toggled when a root level node is removed
Kristian Rietveld [Tue, 1 Sep 2009 14:45:39 +0000 (16:45 +0200)]
Correct unfiltered test cases
Kristian Rietveld [Tue, 1 Sep 2009 14:37:57 +0000 (16:37 +0200)]
Check for successfull iterator retrieval
Kristian Rietveld [Tue, 1 Sep 2009 14:19:30 +0000 (16:19 +0200)]
Refilter is required after setting visible column
Kristian Rietveld [Tue, 1 Sep 2009 14:15:08 +0000 (16:15 +0200)]
Correct /FilterModel/empty/vroot-show-nodes test case
Kristian Rietveld [Tue, 1 Sep 2009 14:10:05 +0000 (16:10 +0200)]
Only emit row-inserted if all ancestors are visible
Kristian Rietveld [Tue, 1 Sep 2009 12:50:32 +0000 (14:50 +0200)]
Generalize fixture setup code
Kristian Rietveld [Tue, 1 Sep 2009 12:46:11 +0000 (14:46 +0200)]
Make a start with virtual root unit tests
Kristian Rietveld [Tue, 1 Sep 2009 11:54:35 +0000 (13:54 +0200)]
Add test cases for bugs 464173 and 529287
Kristian Rietveld [Tue, 1 Sep 2009 09:14:40 +0000 (11:14 +0200)]
Add unit test for bug 540201
Kristian Rietveld [Tue, 1 Sep 2009 07:39:11 +0000 (09:39 +0200)]
Add a helper for inserting paths in the test tree store
Kristian Rietveld [Tue, 1 Sep 2009 07:17:02 +0000 (09:17 +0200)]
Start a testsuite for GtkTreeModelFilter
Matthias Clasen [Sat, 5 Sep 2009 05:46:39 +0000 (01:46 -0400)]
Fix fallout from automake version bump
Matthias Clasen [Sat, 5 Sep 2009 04:36:49 +0000 (00:36 -0400)]
Bump version
Matthias Clasen [Sat, 5 Sep 2009 04:35:08 +0000 (00:35 -0400)]
2.17.11
Matthias Clasen [Sat, 5 Sep 2009 03:27:37 +0000 (23:27 -0400)]
Fix a typo
Matthias Clasen [Sat, 5 Sep 2009 03:00:27 +0000 (23:00 -0400)]
Fix the build
Matthias Clasen [Sat, 5 Sep 2009 02:53:03 +0000 (22:53 -0400)]
Documentation additions
Matthias Clasen [Sat, 5 Sep 2009 02:47:59 +0000 (22:47 -0400)]
Updates
Matthias Clasen [Sat, 5 Sep 2009 02:20:28 +0000 (22:20 -0400)]
Make gtk_combo_box_entry_set_text_column more forgiving
The assertions in there were unnecessarily restrictive. This has
been reported in bug 564160.
Matthias Clasen [Sat, 5 Sep 2009 00:34:09 +0000 (20:34 -0400)]
Don't forget to set the client window on the slave
Matthias Clasen [Sat, 5 Sep 2009 00:22:43 +0000 (20:22 -0400)]
Make window manager tracking work better
We were getting the new wm name with a 15 second delay, due to
some race. Reported in bug 593644.
Matthias Clasen [Fri, 4 Sep 2009 22:22:30 +0000 (18:22 -0400)]
Avoid a segfault if license is NULL
The license field was introduced later on, so some out-of-tree loaders
may not set it. And Solaris printf() doesn't take NULL for a string...
Bug 594178.